Fixed macros for POW2, POW3, etc.

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
generate_headers.py gives slightly more useful output if JSON fluid file cannot be decoded

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>