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