[PATCH 4/4] lib/ecdsa: Use the 'keydir' argument from mkimage if appropriate