Declare some array sizes to be constants (known at compile time). This reduces some memcpys and callocs. Cherry-picked from aomedia/master: 4081013 Change-Id: If04580af4c63892c8af8ac5b405c7d6aabe5af89