Shadow chancellor John McDonnell says he was "disappointed' after Jeremy Corbyn's election that some refused to serve.