Convert some #defines with values like 2**x to enums with bitshifts
(cherry picked from commit fa763973f75b1502c70e2184956bf607cb4b872b)
exif: eee6642 only for bleeding edge lensfun