fix enum casting errors
hci: fix two issues:

  * void userial_close(void) and void userial_close() are the same in
    compiler processed code, however they conflict with one another.

  * Fix an implicit declaration of userial_close in userial_open.