Can't you just patch /shadow/lib/getdef.c:88 and replace {"ENCRYPT_METHOD", NULL} by {"ENCRYPT_METHOD", "SHA512"}?