Fix local_buffer test when checking local memory size

This fixes a test failure for implementations which don't
properly report dynamically set local memory buffer sizes.
Merge pull request #398 from kylelutz/fix-local-buffer-test

Fix local_buffer test when checking local memory size