Scanning of coding units, e.g. zig-zag scan of transform coefficients or flexible macroblock ordering [FMO]