Fixed compile errors and line endings in test_allocpool.c