Update platform-freebsd.cc

Fix compile error: request for member 'push_back' in 'result', which is of non-class type 'int' on FreeBSD