core: use error code 2 on Blue Gene/Q

Suggested-by: Ray Loy <rloy@alcf.anl.gov>
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>