h264: namespace the decode function

Make much easier debugging.
lavu: Move preprocessor macros in a separate file

And remove all the circular inclusions of avutil.h while at it.