[PATCH v3 10/19] common: image-sig.c: Remove host-specific logic and #ifdefs