CP-5962: don't use errno as a variable name

Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>
Suggested-by: Mate Lakat <mate.lakat@citrix.com>