docs: fix JSDoc for req.accepts() return value and parameter format (#6936)