bsd: export recv() correctly

3c16063a6b forgot to make recv() as having C linkage.

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>