test/encode: Add -Wall option to default build flags