base-files: fwtool: implement compatibility check for images