Fix FIFO's empty/full/overwrite issues

Change from increment to decrement of depth counter on pop
and not allow writes when full