[asan] increase the buffer size for printing asan legend, add a test for legend